<!--
  @author heguanghua
  @since 2019/06/12 11:57
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<table class="layui-hide" id="zmn-table" lay-filter="zmn-table" th:fragment="table">
    <thead>
    <tr>
        <th lay-data="{type:'checkbox', width:50, unresize:true, align:'center'}"></th>
        <th lay-data="{field:'channelId', width:300, unresize:true, align:'left', sort: true}">渠道ID</th>
        <th lay-data="{field:'name', minWidth:120, unresize:true, align:'left'}">渠道名称</th>
        <th lay-data="{field:'操作', width:100, unresize:true, align:'center'}">操作</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="item,itemStat:${items}">
        <td></td>
        <td th:text="${item.channelId}"></td>
        <td th:text="${item.name}"></td>
        <td>
            <a id="assChannel" class="layui-btn layui-btn-xs btn-operate" th:value="${item.channelId}" th:data-id="${item.channelId}"
               th:data-index="${itemStat.index}"
               th:if="${#authPermit.checkPermit('/channel/mark/modify/group/assChannels/update.action')}">关联渠道</a>
        </td>
    </tr>
    </tbody>
</table>
